/*
** my_str_islower.c for my_str_islower in /home/labonn_c//Documents/piscine/Jour_O6
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Tue Oct 11 01:17:10 2011 christophe labonnemartinez
** Last update Tue Oct 11 01:21:48 2011 christophe labonnemartinez
*/

int	my_str_isupper(char *str)
{
  int	i;
  int	j;

  i = 0;
  j = 0;
  if (str[0] == '\0')
    return (1);
      while (str[i] != '\0')
	{
	  if (str[i] < 'A' || str[i] > 'Z')
	    j = j + 1;
	  i = i + 1;
	}
  if (j > 0)
    return (0);
  else
    return (1);
}
